package com.qianfeng.mapper;

import com.qianfeng.entity.Attendance;
import com.qianfeng.entity.Student;

import java.util.List;

public interface StudentMapper {

    /**
     *
     * @param student
     */
    void addStudent(Student student);


    /**
     *
     * @return
     */
    List<Student> getStudentList();

    /**
     * 根据id查询部门
     * @param studentId
     * @return
     */
    List<Student> getListByStudentId(Integer studentId);

    /**
     * 根据id删除部门
     * @param studentId
     */
    void deleteStudent(Integer studentId);

    /**
     * 更新部门信息
     * @param student
     */
    void updateStudent(Student student);
}
